package com.vote.domain;

public class ProxyIp {
	
	private String ip;
	
	private String port;
	
	public ProxyIp(){
	}
	
	public ProxyIp(String info){
		this.ip = info.split(":")[0];
		this.port = info.split(":")[1];
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	@Override
	public String toString() {
		return ip+":"+port;
	}
	
	
	
}
